package com.qfedu.zy.dao;

import com.qfedu.zy.pojos.User;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@MapperScan
@Repository
public interface UserDAO {

    @Transactional
    public void insertUser(User user);

    public User queryUserByName(String userName);

}
